package com.tjec.project.businessWorkbench.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.tjec.project.businessWorkbench.mapper.BmsMdBusinessIndicatorReportMapper;
import com.tjec.project.businessWorkbench.domain.BmsMdBusinessIndicatorReport;
import com.tjec.project.businessWorkbench.service.IBmsMdBusinessIndicatorReportService;

/**
 * 业务指标填报Service业务层处理
 * 
 * @author pangyognfeng
 * @date 2020-06-02
 */
@Service
public class BmsMdBusinessIndicatorReportServiceImpl implements IBmsMdBusinessIndicatorReportService {
	@Autowired
	private BmsMdBusinessIndicatorReportMapper bmsMdBusinessIndicatorReportMapper;

	/**
	 * 查询业务指标填报
	 * 
	 * @param guid 业务指标填报ID
	 * @return 业务指标填报
	 */
	@Override
	public BmsMdBusinessIndicatorReport selectBmsMdBusinessIndicatorReport(BmsMdBusinessIndicatorReport bmsMdBusinessIndicatorReport) {
		return bmsMdBusinessIndicatorReportMapper.selectBmsMdBusinessIndicatorReport(bmsMdBusinessIndicatorReport);
	}

	/**
	 * 新增业务指标填报
	 * 
	 * @param bmsMdBusinessIndicatorReport 业务指标填报
	 * @return 结果
	 */
	@Override
	public BmsMdBusinessIndicatorReport insertBmsMdBusinessIndicatorReport(BmsMdBusinessIndicatorReport bmsMdBusinessIndicatorReport) {
		bmsMdBusinessIndicatorReportMapper.insertBmsMdBusinessIndicatorReport(bmsMdBusinessIndicatorReport);
		return bmsMdBusinessIndicatorReport;
	}

	/**
	 * 修改业务指标填报
	 * 
	 * @param bmsMdBusinessIndicatorReport 业务指标填报
	 * @return 结果
	 */
	@Override
	public int updateBmsMdBusinessIndicatorReport(BmsMdBusinessIndicatorReport bmsMdBusinessIndicatorReport) {
		return bmsMdBusinessIndicatorReportMapper.updateBmsMdBusinessIndicatorReport(bmsMdBusinessIndicatorReport);
	}
}
